use ActionResultTestHelper;
use ActionStatus;
use ActionResult;

$status = "SUCCESS";
$msg    =  "Mensaje prueba";
$result = ActionResult->new($status, $msg);

testClass($result, "ActionResult");
checkIs($result->status, "SUCCESS");
checkName($result->status, "SUCCESS");
testStatusRef($result);
testMsg($result, $msg);

$status = "FAILURE";
$msg = "Prueba2";
$result->status($status);
$result->msg($msg);

checkIs($result->status, "FAILURE");
checkName($result->status, "FAILURE");
testStatusRef($result);
testMsg($result, $msg);




